package com.wf.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wf.domain.ContractInfo;
import com.wf.dto.Apart_houses;
import com.wf.dto.ContractMap;
import com.wf.dto.Houses_facility_DTO;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;


/**
* @author mpk16
* @description 针对表【contract_info】的数据库操作Service
* @createDate 2024-08-03 13:39:49
*/

public interface ContractInfoService extends IService<ContractInfo> {
    Map<String,Object> selectConAllInfo(Integer contract_id);

    String getContractPdf(String contractId);
    List<ContractInfo> selectContract(Integer status,Integer user_id);
    Set<HashMap<String,Object>> selectInvoiceRequest();
    boolean newContract(Apart_houses apartHouses,String phone,Integer money);
    ContractMap generateContractMap(Apart_houses apartHouses, String phone, Integer money);
    String upload(ContractMap map);
    void updateAllView();
    boolean addContractInfo(Map<String, Object> variables);

}
